package org.example.aop;

/**
 * @Author: luyg
 * @Date: 2024/09/16/13:18
 * @Description:
 */
public class TargetSource {

    private final Object target;


    public TargetSource(Object target) {
        this.target = target;
    }

    public Class<?>[] getTargetClass(){
        return this.target.getClass().getInterfaces();
    }


    public Object getTarget() {
        return target;
    }
}
